//
//  UILabel+Extension.swift
//  WearDu
//
//  Created by wang tiao on 2025/3/18.
//

import UIKit


extension UILabel {

    convenience init(text: String? = nil, font: UIFont = .systemFont(ofSize: 15), textColor: UIColor = .black, textAlignment: NSTextAlignment = .left) {
        self.init(frame: .zero)
        self.text = text
        self.font = font
        self.textColor = textColor
        self.textAlignment = textAlignment
    }
    
}

